package cn.sunshine.ymcc.utils;

import cn.sunshine.ymcc.CourseDoc;
import cn.sunshine.ymcc.dto.AggrTermsBucket;
import cn.sunshine.ymcc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.ws.soap.Addressing;
import java.util.List;
import java.util.Map;
@Data
@NoArgsConstructor
public class AggsPageList extends PageList {
    private Map<String, List<AggrTermsBucket>> map;


    public AggsPageList(long total, List<CourseDoc> content, Map<String, List<AggrTermsBucket>> map) {
        super(total,content);
        this.map = map;
    }
}

